<!DOCTYPE html>
<style>
p:first-child { padding-left:12px; }
</style>
<p>
  <canvas width="100" height="100">Canvas</canvas>
</p>
<script>
var canvas = document.querySelector('canvas'),
c = canvas.getContext('2d');
c.fillRect(0,0,100,100);
</script>
</html>

